package com.leinao.job.dto;

import java.io.Serializable;

/**
 * @author wangshoufa
 * @date 2018年12月1日 下午12:12:45
 */

public class JobInfoDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -384718339957775856L;
	/**
	  * 任务ID
	  */
	private Long id;
	/**
	 * 任务名称
	 */
	private String jobName;
	/**
	 * 任务状态
	 */
	private String state;
	/**
	 * 操作类型状态
	 */
	private String executionType;
	/**
	 * 重启次数
	 */
	private Integer retries;
	/**
	 * 创建时间
	 */
	private Long createdTime;
	/**
	 * 完成时间
	 */
	private Long completedTime;
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * 任务编号
	 */
	private Integer codeNo;
	/**
	 * 任务类型
	 */
	private Integer jobType;
	/**
	  * 任务标签
	  */
	private String jobTag;
    /**
     * 任务备注
     */
    private String remark;

	/**
	 * 任务耗时
	 */
	private Long timeConsuming;

	/**
	 * tensorboardUrl
	 */

	private String tensorboardUrl;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getExecutionType() {
		return executionType;
	}
	public void setExecutionType(String executionType) {
		this.executionType = executionType;
	}
	public Integer getRetries() {
		return retries;
	}
	public void setRetries(Integer retries) {
		this.retries = retries;
	}
	public Long getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}
	public Long getCompletedTime() {
		return completedTime;
	}
	public void setCompletedTime(Long completedTime) {
		this.completedTime = completedTime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public Integer getCodeNo() {
		return codeNo;
	}
	public void setCodeNo(Integer codeNo) {
		this.codeNo = codeNo;
	}
	
	public Integer getJobType() {
		return jobType;
	}
	public void setJobType(Integer jobType) {
		this.jobType = jobType;
	}

	public String getJobTag() {
		return jobTag;
	}

	public void setJobTag(String jobTag) {
		this.jobTag = jobTag;
	}

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public Long getTimeConsuming() {
		return timeConsuming;
	}
	public void setTimeConsuming(Long timeConsuming) {
		this.timeConsuming = timeConsuming;
	}

	public String getTensorboardUrl() {
		return tensorboardUrl;
	}

	public void setTensorboardUrl(String tensorboardUrl) {
		this.tensorboardUrl = tensorboardUrl;
	}

	@Override
	public String toString() {
		return "JobInfoDto [jobName=" + jobName + ", state=" + state + ", executionType=" + executionType + ", retries="
				+ retries + ", createdTime=" + createdTime + ", completedTime=" + completedTime + ", userId=" + userId
				+ ", codeNo=" + codeNo + ", jobType=" + jobType + ", timeConsuming=" + timeConsuming + "]";
	}



}
